home *** CD-ROM | disk | FTP | other *** search
/ MacSilverWare / macsilverware.iso / Extensions / AutoFlush / AutoFlush ReadMe < prev    next >
Text File  |  1992-12-03  |  2KB  |  35 lines

  1. AutoFlush™ v1.0
  2. by Jeffrey Robbin
  3. Special thanks to john calhoun for an awesome icon!
  4.  
  5. What is AutoFlush?
  6.  
  7. AutoFlush is a system extension which will help to prevent those unwanted corrupted resource files.  When your computer system crashes, is reset by the programmer's switch, or is turned off without shutting down, it is possible for one or more resource files to be damaged because your drive was not "Flushed."  A hard drive's data is not written to the actual disk until its data is flushed out of a buffer.  If your computer is restarted or crashes after a resource file has been modified but not written to disk, that file could become corrupt.  Most often this occurs to the System file which is always open and changing.
  8.  
  9.  
  10. What does Autoflush do?
  11.  
  12. AutoFlush forces the system to flush the volume right after one of the critical resource manager calls is executed.  Whenever the computer does the following calls, AutoFlush will make sure that the System volume is flushed right away:
  13.  
  14. AddResource
  15. ChangedResource
  16. RmveResource
  17. WriteResource
  18. UpdateResFile
  19.  
  20.  
  21. How does AutoFlush work?
  22.  
  23. AutoFlush patches the five resource manager calls mentioned above, as well as SystemTask.  Whenever one of those resource calls is made, AutoFlush sets a flag so that SystemTask will flush the system volume next time around.  This is done so that if UpdateResFile calls WriteResource 50 times, we don't flush the volume 50 times.  That is, the flag is set, and when SystemTask is next called, the system volume is flushed.  This procedure will prevent most of the system corruption that occurs.
  24.  
  25.  
  26. AutoFlush is FreeWare.  All standard disclaimers apply, so use this software at your own risk.  If you have any questions or problems, I can be reached at the following addresses:
  27.  
  28. Jeffrey Robbin
  29. Internet:  jlrg9912@uxa.cso.uiuc.edu
  30. AOL: JLR63
  31.  
  32. PS:
  33.  
  34. Take a look at Conflict Catcher & Other Innovative Utilities by Casady & Greene! (also programmed by me.)
  35.